home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 2 / AACD 2.iso / AACD / Magazine / UsingPDF / GhostScript / source / gs5.10 / gs5.03 / devs.mak.in < prev    next >
Encoding:
Text File  |  1997-11-25  |  54.9 KB  |  1,633 lines

  1. #    Copyright (C) 1989, 1996, 1997 Aladdin Enterprises.  All rights reserved.
  2. # This file is part of Aladdin Ghostscript.
  3. # Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  4. # or distributor accepts any responsibility for the consequences of using it,
  5. # or for whether it serves any particular purpose or works at all, unless he
  6. # or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  7. # License (the "License") for full details.
  8. # Every copy of Aladdin Ghostscript must include a copy of the License,
  9. # normally in a plain ASCII text file named PUBLIC.  The License grants you
  10. # the right to copy, modify and redistribute Aladdin Ghostscript, but only
  11. # under certain conditions described in the License.  Among other things, the
  12. # License requires that the copyright notice and this notice be preserved on
  13. # all copies.
  14.  
  15. # makefile for device drivers.
  16.  
  17. # Define the name of this makefile.
  18. DEVS_MAK=devs.mak
  19.  
  20. ###### --------------------------- Catalog -------------------------- ######
  21.  
  22. # It is possible to build configurations with an arbitrary collection of
  23. # device drivers, although some drivers are supported only on a subset
  24. # of the target platforms.  The currently available drivers are:
  25.  
  26. # MS-DOS displays (note: not usable with Desqview/X):
  27. #   MS-DOS EGA and VGA:
  28. #    ega    EGA (640x350, 16-color)
  29. #    vga    VGA (640x480, 16-color)
  30. #   MS-DOS SuperVGA:
  31. # *    ali    SuperVGA using Avance Logic Inc. chipset, 256-color modes
  32. # *    atiw    ATI Wonder SuperVGA, 256-color modes
  33. # *    s3vga    SuperVGA using S3 86C911 chip (e.g., Diamond Stealth board)
  34. #    svga16    Generic SuperVGA in 800x600, 16-color mode
  35. # *    tseng    SuperVGA using Tseng Labs ET3000/4000 chips, 256-color modes
  36. # *    tvga    SuperVGA using Trident chipset, 256-color modes
  37. #   ****** NOTE: The vesa device does not work with the Watcom (32-bit MS-DOS)
  38. #   ****** compiler or executable.
  39. #    vesa    SuperVGA with VESA standard API driver
  40. #   MS-DOS other:
  41. #    bgi    Borland Graphics Interface (CGA)  [MS-DOS only]
  42. # *    herc    Hercules Graphics display   [MS-DOS only]
  43. # *    pe    Private Eye display
  44. # Other displays:
  45. #   MS Windows:
  46. #    mswindll  Microsoft Windows 3.1 DLL  [MS Windows only]
  47. #    mswinprn  Microsoft Windows 3.0, 3.1 DDB printer  [MS Windows only]
  48. #    mswinpr2  Microsoft Windows 3.0, 3.1 DIB printer  [MS Windows only]
  49. #   OS/2:
  50. # *    os2pm    OS/2 Presentation Manager   [OS/2 only]
  51. # *    os2dll    OS/2 DLL bitmap             [OS/2 only]
  52. # *    os2prn    OS/2 printer                [OS/2 only]
  53. #   Unix and VMS:
  54. #   ****** NOTE: For direct frame buffer addressing under SCO Unix or Xenix,
  55. #   ****** edit the definition of EGAVGA below.
  56. # *    att3b1    AT&T 3b1/Unixpc monochrome display   [3b1 only]
  57. # *    lvga256  Linux vgalib, 256-color VGA modes  [Linux only]
  58. # *    sonyfb    Sony Microsystems monochrome display   [Sony only]
  59. # *    sunview  SunView window system   [SunOS only]
  60. # +    vgalib    Linux PC with VGALIB   [Linux only]
  61. #    x11    X Windows version 11, release >=4   [Unix and VMS only]
  62. #    x11alpha  X Windows masquerading as a device with alpha capability
  63. #    x11cmyk  X Windows masquerading as a 1-bit-per-plane CMYK device
  64. #    x11gray2  X Windows as a 2-bit gray-scale device
  65. #    x11mono  X Windows masquerading as a black-and-white device
  66. #   Platform-independent:
  67. # *    sxlcrt    CRT sixels, e.g. for VT240-like terminals
  68. # Printers:
  69. # *    ap3250    Epson AP3250 printer
  70. # *    appledmp  Apple Dot Matrix Printer (should also work with Imagewriter)
  71. #    bj10e    Canon BubbleJet BJ10e
  72. # *    bj200    Canon BubbleJet BJ200
  73. # *    bjc600   Canon Color BubbleJet BJC-600, BJC-4000 and BJC-70
  74. #               also good for Apple printers like the StyleWriter 2x00
  75. # *    bjc800   Canon Color BubbleJet BJC-800
  76. # *     ccr     CalComp Raster format
  77. # *    cdeskjet  H-P DeskJet 500C with 1 bit/pixel color
  78. # *    cdjcolor  H-P DeskJet 500C with 24 bit/pixel color and
  79. #        high-quality color (Floyd-Steinberg) dithering;
  80. #        also good for DeskJet 540C and Citizen Projet IIc (-r200x300)
  81. # *    cdjmono  H-P DeskJet 500C printing black only;
  82. #        also good for DeskJet 510, 520, and 540C (black only)
  83. # *    cdj500    H-P DeskJet 500C (same as cdjcolor)
  84. # *    cdj550    H-P DeskJet 550C/560C/660C/660Cse
  85. # *    cp50    Mitsubishi CP50 color printer
  86. # *    declj250  alternate DEC LJ250 driver
  87. # +    deskjet  H-P DeskJet and DeskJet Plus
  88. #    djet500  H-P DeskJet 500; use -r600 for DJ 600 series
  89. # *    djet500c  H-P DeskJet 500C alternate driver
  90. #        (does not work on 550C or 560C)
  91. # *    dnj650c  H-P DesignJet 650C
  92. #    epson    Epson-compatible dot matrix printers (9- or 24-pin)
  93. # *    eps9mid  Epson-compatible 9-pin, interleaved lines
  94. #        (intermediate resolution)
  95. # *    eps9high  Epson-compatible 9-pin, interleaved lines
  96. #        (triple resolution)
  97. # *    epsonc    Epson LQ-2550 and Fujitsu 3400/2400/1200 color printers
  98. # *    ibmpro  IBM 9-pin Proprinter
  99. # *    imagen    Imagen ImPress printers
  100. # *    iwhi    Apple Imagewriter in high-resolution mode
  101. # *    iwlo    Apple Imagewriter in low-resolution mode
  102. # *    iwlq    Apple Imagewriter LQ in 320 x 216 dpi mode
  103. # *    jetp3852  IBM Jetprinter ink-jet color printer (Model #3852)
  104. # +    laserjet  H-P LaserJet
  105. # *    la50    DEC LA50 printer
  106. # *    la70    DEC LA70 printer
  107. # *    la70t    DEC LA70 printer with low-resolution text enhancement
  108. # *    la75    DEC LA75 printer
  109. # *    la75plus DEC LA75plus printer
  110. # *    lbp8    Canon LBP-8II laser printer
  111. # *    lips3    Canon LIPS III laser printer in English (CaPSL) mode
  112. # *    ln03    DEC LN03 printer
  113. # *    lj250    DEC LJ250 Companion color printer
  114. # +    ljet2p    H-P LaserJet IId/IIp/III* with TIFF compression
  115. # +    ljet3    H-P LaserJet III* with Delta Row compression
  116. # +    ljet3d    H-P LaserJet IIID with duplex capability
  117. # +    ljet4    H-P LaserJet 4 (defaults to 600 dpi)
  118. # +    lj4dith  H-P LaserJet 4 with Floyd-Steinberg dithering
  119. # +    ljetplus  H-P LaserJet Plus
  120. #    lj5mono  H-P LaserJet 5 & 6 family (PCL XL), bitmap:
  121. #        see below for restrictions & advice
  122. #    lj5gray  H-P LaserJet 5 & 6 family, gray-scale bitmap;
  123. #        see below for restrictions & advice
  124. # *    lp2563    H-P 2563B line printer
  125. # *    lp8000    Epson LP-8000 laser printer
  126. # *     lq850   Epson LQ850 printer at 360 x 360 DPI resolution;
  127. #               also good for Canon BJ300 with LQ850 emulation
  128. # *    m8510    C.Itoh M8510 printer
  129. # *    necp6    NEC P6/P6+/P60 printers at 360 x 360 DPI resolution
  130. # *    nwp533  Sony Microsystems NWP533 laser printer   [Sony only]
  131. # *    oce9050  OCE 9050 printer
  132. # *    oki182    Okidata MicroLine 182
  133. # *    okiibm    Okidata MicroLine IBM-compatible printers
  134. # *    paintjet  alternate H-P PaintJet color printer
  135. # *    pj    H-P PaintJet XL driver 
  136. # *    pjetxl    alternate H-P PaintJet XL driver
  137. # *    pjxl    H-P PaintJet XL color printer
  138. # *    pjxl300  H-P PaintJet XL300 color printer;
  139. #        also good for PaintJet 1200C
  140. #    (pxlmono) H-P black-and-white PCL XL printers (LaserJet 5 and 6 family)
  141. #    (pxlcolor) H-P color PCL XL printers (none available yet)
  142. # *    r4081    Ricoh 4081 laser printer
  143. # *    sj48    StarJet 48 inkjet printer
  144. # *    sparc    SPARCprinter
  145. # *    st800    Epson Stylus 800 printer
  146. # *    stcolor    Epson Stylus Color
  147. # *    t4693d2  Tektronix 4693d color printer, 2 bits per R/G/B component
  148. # *    t4693d4  Tektronix 4693d color printer, 4 bits per R/G/B component
  149. # *    t4693d8  Tektronix 4693d color printer, 8 bits per R/G/B component
  150. # *    tek4696  Tektronix 4695/4696 inkjet plotter
  151. # *    uniprint  Unified printer driver -- Configurable Color ESC/P-,
  152. #        ESC/P2-, HP-RTL/PCL mono/color driver
  153. # *    xes    Xerox XES printers (2700, 3700, 4045, etc.)
  154. # Fax systems:
  155. # *    dfaxhigh  DigiBoard, Inc.'s DigiFAX software format (high resolution)
  156. # *    dfaxlow  DigiFAX low (normal) resolution
  157. # Fax file format:
  158. #   ****** NOTE: all of these drivers adjust the page size to match
  159. #   ****** one of the three CCITT standard sizes (U.S. letter with A4 width,
  160. #   ****** A4, or B4).
  161. #    faxg3    Group 3 fax, with EOLs but no header or EOD
  162. #    faxg32d  Group 3 2-D fax, with EOLs but no header or EOD
  163. #    faxg4    Group 4 fax, with EOLs but no header or EOD
  164. #    tiffcrle  TIFF "CCITT RLE 1-dim" (= Group 3 fax with no EOLs)
  165. #    tiffg3    TIFF Group 3 fax (with EOLs)
  166. #    tiffg32d  TIFF Group 3 2-D fax
  167. #    tiffg4    TIFF Group 4 fax
  168. # High-level file formats:
  169. #    epswrite  EPS output (like PostScript Distillery)
  170. #    pdfwrite  PDF output (like Adobe Acrobat Distiller)
  171. #    pswrite  PostScript output (like PostScript Distillery)
  172. #    pxlmono  Black-and-white PCL XL
  173. #    pxlcolor  Color PCL XL
  174. # Other raster file formats and devices:
  175. #    bit    Plain bits, monochrome
  176. #    bitrgb    Plain bits, RGB
  177. #    bitcmyk  Plain bits, CMYK
  178. #    bmpmono    Monochrome MS Windows .BMP file format
  179. #    bmp16    4-bit (EGA/VGA) .BMP file format
  180. #    bmp256    8-bit (256-color) .BMP file format
  181. #    bmp16m    24-bit .BMP file format
  182. #    cgmmono  Monochrome (black-and-white) CGM -- LOW LEVEL OUTPUT ONLY
  183. #    cgm8    8-bit (256-color) CGM -- DITTO
  184. #    cgm24    24-bit color CGM -- DITTO
  185. # *    cif    CIF file format for VLSI
  186. #    jpeg    JPEG format, RGB output
  187. #    jpeggray  JPEG format, gray output
  188. #    miff24    ImageMagick MIFF format, 24-bit direct color, RLE compressed
  189. # *    mgrmono  1-bit monochrome MGR devices
  190. # *    mgrgray2  2-bit gray scale MGR devices
  191. # *    mgrgray4  4-bit gray scale MGR devices
  192. # *    mgrgray8  8-bit gray scale MGR devices
  193. # *    mgr4    4-bit (VGA) color MGR devices
  194. # *    mgr8    8-bit color MGR devices
  195. #    pcxmono    PCX file format, monochrome (1-bit black and white)
  196. #    pcxgray    PCX file format, 8-bit gray scale
  197. #    pcx16    PCX file format, 4-bit planar (EGA/VGA) color
  198. #    pcx256    PCX file format, 8-bit chunky color
  199. #    pcx24b    PCX file format, 24-bit color (3 8-bit planes)
  200. #    pcxcmyk PCX file format, 4-bit chunky CMYK color
  201. #    pbm    Portable Bitmap (plain format)
  202. #    pbmraw    Portable Bitmap (raw format)
  203. #    pgm    Portable Graymap (plain format)
  204. #    pgmraw    Portable Graymap (raw format)
  205. #    pgnm    Portable Graymap (plain format), optimizing to PBM if possible
  206. #    pgnmraw    Portable Graymap (raw format), optimizing to PBM if possible
  207. #    pnm    Portable Pixmap (plain format) (RGB), optimizing to PGM or PBM
  208. #         if possible
  209. #    pnmraw    Portable Pixmap (raw format) (RGB), optimizing to PGM or PBM
  210. #         if possible
  211. #    ppm    Portable Pixmap (plain format) (RGB)
  212. #    ppmraw    Portable Pixmap (raw format) (RGB)
  213. #    pkm    Portable inKmap (plain format) (4-bit CMYK => RGB)
  214. #    pkmraw    Portable inKmap (raw format) (4-bit CMYK => RGB)
  215. #    pngmono    Monochrome Portable Network Graphics (PNG)
  216. #    pnggray    8-bit gray Portable Network Graphics (PNG)
  217. #    png16    4-bit color Portable Network Graphics (PNG)
  218. #    png256    8-bit color Portable Network Graphics (PNG)
  219. #    png16m    24-bit color Portable Network Graphics (PNG)
  220. #    psmono    PostScript (Level 1) monochrome image
  221. #    psgray    PostScript (Level 1) 8-bit gray image
  222. #    sgirgb    SGI RGB pixmap format
  223. #    tiff12nc  TIFF 12-bit RGB, no compression
  224. #    tiff24nc  TIFF 24-bit RGB, no compression (NeXT standard format)
  225. #    tifflzw  TIFF LZW (tag = 5) (monochrome)
  226. #    tiffpack  TIFF PackBits (tag = 32773) (monochrome)
  227.  
  228. # User-contributed drivers marked with * require hardware or software
  229. # that is not available to Aladdin Enterprises.  Please contact the
  230. # original contributors, not Aladdin Enterprises, if you have questions.
  231. # Contact information appears in the driver entry below.
  232. #
  233. # Drivers marked with a + are maintained by Aladdin Enterprises with
  234. # the assistance of users, since Aladdin Enterprises doesn't have access to
  235. # the hardware for these either.
  236.  
  237. # If you add drivers, it would be nice if you kept each list
  238. # in alphabetical order.
  239.  
  240. ###### ----------------------- End of catalog ----------------------- ######
  241.  
  242. # As noted in gs.mak, DEVICE_DEVS and DEVICE_DEVS1..15 select the devices
  243. # that should be included in a given configuration.  By convention, these
  244. # are used as follows.  Each of these must be limited to about 10 devices
  245. # so as not to overflow the 120 character limit on MS-DOS command lines.
  246. #    DEVICE_DEVS - the default device, and any display devices.
  247. #    DEVICE_DEVS1 - additional display devices if needed.
  248. #    DEVICE_DEVS2 - dot matrix printers.
  249. #    DEVICE_DEVS3 - H-P monochrome printers.
  250. #    DEVICE_DEVS4 - H-P color printers.
  251. #    DEVICE_DEVS5 - additional H-P printers if needed.
  252. #    DEVICE_DEVS6 - other ink-jet and laser printers.
  253. #    DEVICE_DEVS7 - fax file formats.
  254. #    DEVICE_DEVS8 - PCX file formats.
  255. #    DEVICE_DEVS9 - PBM/PGM/PPM file formats.
  256. #    DEVICE_DEVS10 - black-and-white TIFF file formats.
  257. #    DEVICE_DEVS11 - BMP and color TIFF file formats.
  258. #    DEVICE_DEVS12 - PostScript image and 'bit' file formats.
  259. #    DEVICE_DEVS13 - PNG file formats.
  260. #    DEVICE_DEVS14 - CGM, JPEG, and MIFF file formats.
  261. #    DEVICE_DEVS15 - high-level (PostScript and PDF) file formats.
  262. # Feel free to disregard this convention if it gets in your way.
  263.  
  264. # If you want to add a new device driver, the examples below should be
  265. # enough of a guide to the correct form for the makefile rules.
  266. # Note that all drivers other than displays must include page.dev in their
  267. # dependencies and use $(SETPDEV) rather than $(SETDEV) in their rule bodies.
  268.  
  269. # All device drivers depend on the following:
  270. GDEV=$(AK) $(ECHOGS_XE) $(gserrors_h) $(gx_h) $(gxdevice_h)
  271.  
  272. # "Printer" drivers depend on the following:
  273. PDEVH=$(AK) $(gdevprn_h)
  274.  
  275. # Define the header files for device drivers.  Every header file used by
  276. # more than one device driver family must be listed here.
  277. gdev8bcm_h=gdev8bcm.h
  278. gdevpccm_h=gdevpccm.h
  279. gdevpcfb_h=gdevpcfb.h $(dos__h)
  280. gdevpcl_h=gdevpcl.h
  281. gdevsvga_h=gdevsvga.h
  282. gdevx_h=gdevx.h
  283.  
  284. ###### ----------------------- Device support ----------------------- ######
  285.  
  286. # Provide a mapping between StandardEncoding and ISOLatin1Encoding.
  287. gdevemap.$(OBJ): gdevemap.c $(AK) $(std_h)
  288.  
  289. # Implement dynamic color management for 8-bit mapped color displays.
  290. gdev8bcm.$(OBJ): gdev8bcm.c $(AK) \
  291.   $(gx_h) $(gxdevice_h) $(gdev8bcm_h)
  292.  
  293. ###### ------------------- MS-DOS display devices ------------------- ######
  294.  
  295. # There are really only three drivers: an EGA/VGA driver (4 bit-planes,
  296. # plane-addressed), a SuperVGA driver (8 bit-planes, byte addressed),
  297. # and a special driver for the S3 chip.
  298.  
  299. # PC display color mapping
  300. gdevpccm.$(OBJ): gdevpccm.c $(AK) \
  301.   $(gx_h) $(gsmatrix_h) $(gxdevice_h) $(gdevpccm_h)
  302.  
  303. ### ----------------------- EGA and VGA displays ----------------------- ###
  304.  
  305. # The shared MS-DOS makefile defines PCFBASM as either gdevegaa.$(OBJ)
  306. # or an empty string.
  307.  
  308. gdevegaa.$(OBJ): gdevegaa.asm
  309.  
  310. # NOTE: for direct frame buffer addressing under SCO Unix or Xenix,
  311. # change gdevevga to gdevsco in the following line.  Also, since
  312. # SCO's /bin/as does not support the "out" instructions, you must build
  313. # the gnu assembler and have it on your path as "as".
  314. EGAVGA=gdevevga.$(OBJ) gdevpcfb.$(OBJ) gdevpccm.$(OBJ) $(PCFBASM)
  315. #EGAVGA=gdevsco.$(OBJ) gdevpcfb.$(OBJ) gdevpccm.$(OBJ) $(PCFBASM)
  316.  
  317. gdevevga.$(OBJ): gdevevga.c $(GDEV) $(memory__h) $(gdevpcfb_h)
  318.     $(CCD) gdevevga.c
  319.  
  320. gdevsco.$(OBJ): gdevsco.c $(GDEV) $(memory__h) $(gdevpcfb_h)
  321.  
  322. # Common code for MS-DOS and SCO.
  323. gdevpcfb.$(OBJ): gdevpcfb.c $(GDEV) $(memory__h) $(gconfigv_h)\
  324.  $(gdevpccm_h) $(gdevpcfb_h) $(gsparam_h)
  325.     $(CCD) gdevpcfb.c
  326.  
  327. # The EGA/VGA family includes EGA and VGA.  Many SuperVGAs in 800x600,
  328. # 16-color mode can share the same code; see the next section below.
  329.  
  330. ega.dev: $(EGAVGA)
  331.     $(SETDEV) ega $(EGAVGA)
  332.  
  333. vga.dev: $(EGAVGA)
  334.     $(SETDEV) vga $(EGAVGA)
  335.  
  336. ### ------------------------- SuperVGA displays ------------------------ ###
  337.  
  338. # SuperVGA displays in 16-color, 800x600 mode are really just slightly
  339. # glorified VGA's, so we can handle them all with a single driver.
  340. # The way to select them on the command line is with
  341. #    -sDEVICE=svga16 -dDisplayMode=NNN
  342. # where NNN is the display mode in decimal.  See use.txt for the modes
  343. # for some popular display chipsets.
  344.  
  345. svga16.dev: $(EGAVGA)
  346.     $(SETDEV) svga16 $(EGAVGA)
  347.  
  348. # More capable SuperVGAs have a wide variety of slightly differing
  349. # interfaces, so we need a separate driver for each one.
  350.  
  351. SVGA=gdevsvga.$(OBJ) gdevpccm.$(OBJ) $(PCFBASM)
  352.  
  353. gdevsvga.$(OBJ): gdevsvga.c $(GDEV) $(memory__h) $(gconfigv_h)\
  354.  $(gsparam_h) $(gxarith_h) $(gdevpccm_h) $(gdevpcfb_h) $(gdevsvga_h)
  355.     $(CCD) gdevsvga.c
  356.  
  357. # The SuperVGA family includes: Avance Logic Inc., ATI Wonder, S3,
  358. # Trident, Tseng ET3000/4000, and VESA.
  359.  
  360. ali.dev: $(SVGA)
  361.     $(SETDEV) ali $(SVGA)
  362.  
  363. atiw.dev: $(SVGA)
  364.     $(SETDEV) atiw $(SVGA)
  365.  
  366. tseng.dev: $(SVGA)
  367.     $(SETDEV) tseng $(SVGA)
  368.  
  369. tvga.dev: $(SVGA)
  370.     $(SETDEV) tvga $(SVGA)
  371.  
  372. vesa.dev: $(SVGA)
  373.     $(SETDEV) vesa $(SVGA)
  374.  
  375. # The S3 driver doesn't share much code with the others.
  376.  
  377. s3vga_=gdevs3ga.$(OBJ) gdevsvga.$(OBJ) gdevpccm.$(OBJ)
  378. s3vga.dev: $(SVGA) $(s3vga_)
  379.     $(SETDEV) s3vga $(SVGA)
  380.     $(ADDMOD) s3vga -obj $(s3vga_)
  381.  
  382. gdevs3ga.$(OBJ): gdevs3ga.c $(GDEV) $(gdevpcfb_h) $(gdevsvga_h)
  383.     $(CCD) gdevs3ga.c
  384.  
  385. ### ------------ The BGI (Borland Graphics Interface) device ----------- ###
  386.  
  387. cgaf.$(OBJ): $(BGIDIR)\cga.bgi
  388.     $(BGIDIR)\bgiobj /F $(BGIDIR)\cga
  389.  
  390. egavgaf.$(OBJ): $(BGIDIR)\egavga.bgi
  391.     $(BGIDIR)\bgiobj /F $(BGIDIR)\egavga
  392.  
  393. # Include egavgaf.$(OBJ) for debugging only.
  394. bgi_=gdevbgi.$(OBJ) cgaf.$(OBJ)
  395. bgi.dev: $(bgi_)
  396.     $(SETDEV) bgi $(bgi_)
  397.     $(ADDMOD) bgi -lib $(LIBDIR)\graphics
  398.  
  399. gdevbgi.$(OBJ): gdevbgi.c $(GDEV) $(MAKEFILE) $(gxxfont_h)
  400.     $(CCC) -DBGI_LIB="$(BGIDIRSTR)" gdevbgi.c
  401.  
  402. ### ------------------- The Hercules Graphics display ------------------- ###
  403.  
  404. herc_=gdevherc.$(OBJ)
  405. herc.dev: $(herc_)
  406.     $(SETDEV) herc $(herc_)
  407.  
  408. gdevherc.$(OBJ): gdevherc.c $(GDEV) $(dos__h) $(gsmatrix_h) $(gxbitmap_h)
  409.     $(CCC) gdevherc.c
  410.  
  411. ### ---------------------- The Private Eye display ---------------------- ###
  412. ### Note: this driver was contributed by a user:                          ###
  413. ###   please contact narf@media-lab.media.mit.edu if you have questions.  ###
  414.  
  415. pe_=gdevpe.$(OBJ)
  416. pe.dev: $(pe_)
  417.     $(SETDEV) pe $(pe_)
  418.  
  419. gdevpe.$(OBJ): gdevpe.c $(GDEV) $(memory__h)
  420.  
  421. ###### ----------------------- Other displays ------------------------ ######
  422. ### ---------------- Amiga display/printer/file devices ---------------- ###
  423. ### Note: this driver was contributed by a user: please contact          ###
  424. ###       Olaf Barthel (olsen@sourcery.han.de) if you have questions.    ###
  425. ###       He would also like to hear from anyone using the driver.       ###
  426. ### Please consult the source code for additional documentation.         ###
  427.  
  428. amiga_=gdevamiga.$(OBJ)
  429.  
  430. amiga.dev: $(amiga_)
  431.     $(SETDEV) amiga $(amiga_)
  432.  
  433. amiga_custom.dev: $(amiga_)
  434.     $(SETDEV) amiga_custom $(amiga_)
  435.  
  436. amiga_printer.dev: $(amiga_)
  437.     $(SETDEV) amiga_printer $(amiga_)
  438.  
  439. amiga_ilbm.dev: $(amiga_)
  440.     $(SETDEV) amiga_ilbm $(amiga_)
  441.  
  442. gdevamiga.$(OBJ): $(srcdir)/gdevamiga.c
  443.  
  444.  
  445. ### -------------------- The MS-Windows 3.n DLL ------------------------- ###
  446.  
  447. gsdll_h=gsdll.h
  448.  
  449. gdevmswn_h=gdevmswn.h $(GDEV)\
  450.  $(dos__h) $(memory__h) $(string__h) $(windows__h)\
  451.  gp_mswin.h
  452.  
  453. gdevmswn.$(OBJ): gdevmswn.c $(gdevmswn_h) $(gp_h) $(gpcheck_h) \
  454.  $(gsdll_h) $(gsparam_h) $(gdevpccm_h)
  455.  
  456. gdevmsxf.$(OBJ): gdevmsxf.c $(ctype__h) $(math__h) $(memory__h) $(string__h)\
  457.  $(gdevmswn_h) $(gsstruct_h) $(gsutil_h) $(gxxfont_h)
  458.  
  459. # An implementation using a DIB filled by an image device.
  460. gdevwdib.$(OBJ): gdevwdib.c $(gdevmswn_h) $(gsdll_h) $(gxdevmem_h)
  461.  
  462. mswindll_=gdevmswn.$(OBJ) gdevmsxf.$(OBJ) gdevwdib.$(OBJ) \
  463.   gdevemap.$(OBJ) gdevpccm.$(OBJ)
  464. mswindll.dev: $(mswindll_)
  465.     $(SETDEV) mswindll $(mswindll_)
  466.  
  467. ### -------------------- The MS-Windows DDB 3.n printer ----------------- ###
  468.  
  469. mswinprn_=gdevwprn.$(OBJ) gdevmsxf.$(OBJ)
  470. mswinprn.dev: $(mswinprn_)
  471.     $(SETDEV) mswinprn $(mswinprn_)
  472.  
  473. gdevwprn.$(OBJ): gdevwprn.c $(gdevmswn_h) $(gp_h)
  474.  
  475. ### -------------------- The MS-Windows DIB 3.n printer ----------------- ###
  476.  
  477. mswinpr2_=gdevwpr2.$(OBJ)
  478. mswinpr2.dev: $(mswinpr2_) page.dev
  479.     $(SETPDEV) mswinpr2 $(mswinpr2_)
  480.  
  481. gdevwpr2.$(OBJ): gdevwpr2.c $(PDEVH) $(windows__h)\
  482.  $(gdevpccm_h) $(gp_h) gp_mswin.h
  483.  
  484. ### ------------------ OS/2 Presentation Manager device ----------------- ###
  485.  
  486. os2pm_=gdevpm.$(OBJ) gdevpccm.$(OBJ)
  487. os2pm.dev: $(os2pm_)
  488.     $(SETDEV) os2pm $(os2pm_)
  489.  
  490. os2dll_=gdevpm.$(OBJ) gdevpccm.$(OBJ)
  491. os2dll.dev: $(os2dll_)
  492.     $(SETDEV) os2dll $(os2dll_)
  493.  
  494. gdevpm.$(OBJ): gdevpm.c $(string__h)\
  495.  $(gp_h) $(gpcheck_h)\
  496.  $(gsdll_h) $(gserrors_h) $(gsexit_h) $(gsparam_h)\
  497.  $(gx_h) $(gxdevice_h) $(gxdevmem_h)\
  498.  $(gdevpccm_h) gdevpm.h
  499.  
  500. ### --------------------------- The OS/2 printer ------------------------ ###
  501.  
  502. os2prn_=gdevos2p.$(OBJ)
  503. os2prn.dev: $(os2prn_) page.dev
  504.     $(SETPDEV) os2prn $(os2prn_)
  505.  
  506. os2prn.$(OBJ): os2prn.c $(gp_h)
  507.  
  508. ### -------------- The AT&T 3b1 Unixpc monochrome display --------------- ###
  509. ### Note: this driver was contributed by a user: please contact           ###
  510. ###       Andy Fyfe (andy@cs.caltech.edu) if you have questions.          ###
  511.  
  512. att3b1_=gdev3b1.$(OBJ)
  513. att3b1.dev: $(att3b1_)
  514.     $(SETDEV) att3b1 $(att3b1_)
  515.  
  516. gdev3b1.$(OBJ): gdev3b1.c $(GDEV)
  517.  
  518. ### ---------------------- Linux PC with vgalib ------------------------- ###
  519. ### Note: these drivers were contributed by users.                        ###
  520. ### For questions about the lvga256 driver, please contact                ###
  521. ###       Ludger Kunz (ludger.kunz@fernuni-hagen.de).                     ###
  522. ### For questions about the vgalib driver, please contact                 ###
  523. ###       Erik Talvola (talvola@gnu.ai.mit.edu).                          ###
  524.  
  525. lvga256_=gdevl256.$(OBJ)
  526. lvga256.dev: $(lvga256_)
  527.     $(SETDEV) lvga256 $(lvga256_)
  528.     $(ADDMOD) lvga256 -lib vga vgagl
  529.  
  530. gdevl256.$(OBJ): gdevl256.c $(GDEV)
  531.  
  532. vgalib_=gdevvglb.$(OBJ) gdevpccm.$(OBJ)
  533. vgalib.dev: $(vgalib_)
  534.     $(SETDEV) vgalib $(vgalib_)
  535.     $(ADDMOD) vgalib -lib vga
  536.  
  537. gdevvglb.$(OBJ): gdevvglb.c $(GDEV) $(gdevpccm_h) $(gsparam_h)
  538.  
  539. ### ------------------- Sony NeWS frame buffer device ------------------ ###
  540. ### Note: this driver was contributed by a user: please contact          ###
  541. ###       Mike Smolenski (mike@intertech.com) if you have questions.     ###
  542.  
  543. # This is implemented as a 'printer' device.
  544. sonyfb_=gdevsnfb.$(OBJ)
  545. sonyfb.dev: $(sonyfb_) page.dev
  546.     $(SETPDEV) sonyfb $(sonyfb_)
  547.  
  548. gdevsnfb.$(OBJ): gdevsnfb.c $(PDEVH)
  549.  
  550. ### ------------------------ The SunView device ------------------------ ###
  551. ### Note: this driver is maintained by a user: if you have questions,    ###
  552. ###       please contact Andreas Stolcke (stolcke@icsi.berkeley.edu).    ###
  553.  
  554. sunview_=gdevsun.$(OBJ)
  555. sunview.dev: $(sunview_)
  556.     $(SETDEV) sunview $(sunview_)
  557.     $(ADDMOD) sunview -lib suntool sunwindow pixrect
  558.  
  559. gdevsun.$(OBJ): gdevsun.c $(GDEV) $(malloc__h)\
  560.  $(gscdefs_h) $(gserrors_h) $(gsmatrix_h)
  561.  
  562. ### -------------------------- The X11 device -------------------------- ###
  563.  
  564. # Aladdin Enterprises does not support Ghostview.  For more information
  565. # about Ghostview, please contact Tim Theisen (ghostview@cs.wisc.edu).
  566.  
  567. # See the main makefile for the definition of XLIBS.
  568. x11_=gdevx.$(OBJ) gdevxini.$(OBJ) gdevxxf.$(OBJ) gdevemap.$(OBJ)
  569. x11.dev: $(x11_)
  570.     $(SETDEV) x11 $(x11_)
  571.     $(ADDMOD) x11 -lib $(XLIBS)
  572.  
  573. # See the main makefile for the definition of XINCLUDE.
  574. GDEVX=$(GDEV) x_.h gdevx.h $(MAKEFILE)
  575. gdevx.$(OBJ): gdevx.c $(GDEVX) $(math__h) $(memory__h) $(gsparam_h)
  576.     $(CCC) $(XINCLUDE) -I. $(srcdir)/gdevx.c
  577.  
  578. gdevxini.$(OBJ): gdevxini.c $(GDEVX) $(math__h) $(memory__h) $(gserrors_h)
  579.     $(CCC) $(XINCLUDE) -I. $(srcdir)/gdevxini.c
  580.  
  581. gdevxxf.$(OBJ): gdevxxf.c $(GDEVX) $(math__h) $(memory__h)\
  582.  $(gsstruct_h) $(gsutil_h) $(gxxfont_h)
  583.     $(CCC) $(XINCLUDE) -I. $(srcdir)/gdevxxf.c
  584.  
  585. # Alternate X11-based devices to help debug other drivers.
  586. # x11alpha pretends to have 4 bits of alpha channel.
  587. # x11cmyk pretends to be a CMYK device with 1 bit each of C,M,Y,K.
  588. # x11gray2 pretends to be a 2-bit gray-scale device.
  589. # x11mono pretends to be a black-and-white device.
  590. x11alt_=$(x11_) gdevxalt.$(OBJ)
  591. x11alpha.dev: $(x11alt_)
  592.     $(SETDEV) x11alpha $(x11alt_)
  593.     $(ADDMOD) x11alpha -lib $(XLIBS)
  594.  
  595. x11cmyk.dev: $(x11alt_)
  596.     $(SETDEV) x11cmyk $(x11alt_)
  597.     $(ADDMOD) x11cmyk -lib $(XLIBS)
  598.  
  599. x11gray2.dev: $(x11alt_)
  600.     $(SETDEV) x11gray2 $(x11alt_)
  601.     $(ADDMOD) x11gray2 -lib $(XLIBS)
  602.  
  603. x11mono.dev: $(x11alt_)
  604.     $(SETDEV) x11mono $(x11alt_)
  605.     $(ADDMOD) x11mono -lib $(XLIBS)
  606.  
  607. gdevxalt.$(OBJ): gdevxalt.c $(GDEVX) $(math__h) $(memory__h) $(gsparam_h)
  608.     $(CCC) $(XINCLUDE) -I. $(srcdir)/gdevxalt.c
  609.  
  610. ### ------------------------- DEC sixel displays ------------------------ ###
  611. ### Note: this driver was contributed by a user: please contact           ###
  612. ###   Phil Keegstra (keegstra@tonga.gsfc.nasa.gov) if you have questions. ###
  613.  
  614. # This is a "printer" device, but it probably shouldn't be.
  615. # I don't know why the implementor chose to do it this way.
  616. sxlcrt_=gdevln03.$(OBJ)
  617. sxlcrt.dev: $(sxlcrt_) page.dev
  618.     $(SETPDEV) sxlcrt $(sxlcrt_)
  619.  
  620. ###### --------------- Memory-buffered printer devices --------------- ######
  621.  
  622. ### --------------------- The Apple printer devices --------------------- ###
  623. ### Note: these drivers were contributed by users.                        ###
  624. ###   If you have questions about the DMP driver, please contact          ###
  625. ###    Mark Wedel (master@cats.ucsc.edu).                                ###
  626. ###   If you have questions about the Imagewriter drivers, please contact ###
  627. ###    Jonathan Luckey (luckey@rtfm.mlb.fl.us).                          ###
  628. ###   If you have questions about the Imagewriter LQ driver, please       ###
  629. ###    contact Scott Barker (barkers@cuug.ab.ca).                        ###
  630.  
  631. appledmp_=gdevadmp.$(OBJ)
  632.  
  633. gdevadmp.$(OBJ): gdevadmp.c $(PDEVH)
  634.  
  635. appledmp.dev: $(appledmp_) page.dev
  636.     $(SETPDEV) appledmp $(appledmp_)
  637.  
  638. iwhi.dev: $(appledmp_) page.dev
  639.     $(SETPDEV) iwhi $(appledmp_)
  640.  
  641. iwlo.dev: $(appledmp_) page.dev
  642.     $(SETPDEV) iwlo $(appledmp_)
  643.  
  644. iwlq.dev: $(appledmp_) page.dev
  645.     $(SETPDEV) iwlq $(appledmp_)
  646.  
  647. ### ------------ The Canon BubbleJet BJ10e and BJ200 devices ------------ ###
  648.  
  649. bj10e_=gdevbj10.$(OBJ)
  650.  
  651. bj10e.dev: $(bj10e_) page.dev
  652.     $(SETPDEV) bj10e $(bj10e_)
  653.  
  654. bj200.dev: $(bj10e_) page.dev
  655.     $(SETPDEV) bj200 $(bj10e_)
  656.  
  657. gdevbj10.$(OBJ): gdevbj10.c $(PDEVH)
  658.  
  659. ### ------------- The CalComp Raster Format ----------------------------- ###
  660. ### Note: this driver was contributed by a user: please contact           ###
  661. ###       Ernst Muellner (ernst.muellner@oenzl.siemens.de) if you have    ###
  662. ###       questions.                                                      ###
  663.  
  664. ccr_=gdevccr.$(OBJ)
  665. ccr.dev: $(ccr_) page.dev
  666.     $(SETPDEV) ccr $(ccr_)
  667.  
  668. gdevccr.$(OBJ): gdevccr.c $(PDEVH)
  669.  
  670. ### ----------- The H-P DeskJet and LaserJet printer devices ----------- ###
  671.  
  672. ### These are essentially the same device.
  673. ### NOTE: printing at full resolution (300 DPI) requires a printer
  674. ###   with at least 1.5 Mb of memory.  150 DPI only requires .5 Mb.
  675. ### Note that the lj4dith driver is included with the H-P color printer
  676. ###   drivers below.
  677.  
  678. HPPCL=gdevpcl.$(OBJ)
  679. HPMONO=gdevdjet.$(OBJ) $(HPPCL)
  680.  
  681. gdevpcl.$(OBJ): gdevpcl.c $(PDEVH) $(gdevpcl_h)
  682.  
  683. gdevdjet.$(OBJ): gdevdjet.c $(PDEVH) $(gdevpcl_h)
  684.  
  685. deskjet.dev: $(HPMONO) page.dev
  686.     $(SETPDEV) deskjet $(HPMONO)
  687.  
  688. djet500.dev: $(HPMONO) page.dev
  689.     $(SETPDEV) djet500 $(HPMONO)
  690.  
  691. laserjet.dev: $(HPMONO) page.dev
  692.     $(SETPDEV) laserjet $(HPMONO)
  693.  
  694. ljetplus.dev: $(HPMONO) page.dev
  695.     $(SETPDEV) ljetplus $(HPMONO)
  696.  
  697. ### Selecting ljet2p provides TIFF (mode 2) compression on LaserJet III,
  698. ### IIIp, IIId, IIIsi, IId, and IIp. 
  699.  
  700. ljet2p.dev: $(HPMONO) page.dev
  701.     $(SETPDEV) ljet2p $(HPMONO)
  702.  
  703. ### Selecting ljet3 provides Delta Row (mode 3) compression on LaserJet III,
  704. ### IIIp, IIId, IIIsi.
  705.  
  706. ljet3.dev: $(HPMONO) page.dev
  707.     $(SETPDEV) ljet3 $(HPMONO)
  708.  
  709. ### Selecting ljet3d also provides duplex printing capability.
  710.  
  711. ljet3d.dev: $(HPMONO) page.dev
  712.     $(SETPDEV) ljet3d $(HPMONO)
  713.  
  714. ### Selecting ljet4 also provides Delta Row compression on LaserJet IV series.
  715.  
  716. ljet4.dev: $(HPMONO) page.dev
  717.     $(SETPDEV) ljet4 $(HPMONO)
  718.  
  719. lp2563.dev: $(HPMONO) page.dev
  720.     $(SETPDEV) lp2563 $(HPMONO)
  721.  
  722. oce9050.dev: $(HPMONO) page.dev
  723.     $(SETPDEV) oce9050 $(HPMONO)
  724.  
  725. ### ------------------ The H-P LaserJet 5 and 6 devices ----------------- ###
  726.  
  727. ### These drivers use H-P's new PCL XL printer language, like H-P's
  728. ### LaserJet 5 Enhanced driver for MS Windows.  We don't recommend using
  729. ### them:
  730. ###    - If you have a LJ 5L or 5P, which isn't a "real" LaserJet 5,
  731. ###    use the ljet4 driver instead.  (The lj5 drivers won't work.)
  732. ###    - If you have any other model of LJ 5 or 6, use the pxlmono
  733. ###    driver, which often produces much more compact output.
  734.  
  735. gdevpxat_h=gdevpxat.h
  736. gdevpxen_h=gdevpxen.h
  737. gdevpxop_h=gdevpxop.h
  738.  
  739. ljet5_=gdevlj56.$(OBJ) $(HPPCL)
  740. lj5mono.dev: $(ljet5_) page.dev
  741.     $(SETPDEV) lj5mono $(ljet5_)
  742.  
  743. lj5gray.dev: $(ljet5_) page.dev
  744.     $(SETPDEV) lj5gray $(ljet5_)
  745.  
  746. gdevlj56.$(OBJ): gdevlj56.c $(PDEVH) $(gdevpcl_h)\
  747.  $(gdevpxat_h) $(gdevpxen_h) $(gdevpxop_h)
  748.  
  749. ### The H-P DeskJet, PaintJet, and DesignJet family color printer devices.###
  750. ### Note: there are two different 500C drivers, both contributed by users.###
  751. ###   If you have questions about the djet500c driver,                    ###
  752. ###       please contact AKayser@et.tudelft.nl.                           ###
  753. ###   If you have questions about the cdj* drivers,                       ###
  754. ###       please contact g.cameron@biomed.abdn.ac.uk.                     ###
  755. ###   If you have questions about the dnj560c driver,                     ###
  756. ###       please contact koert@zen.cais.com.                              ###
  757. ###   If you have questions about the lj4dith driver,                     ###
  758. ###       please contact Eckhard.Rueggeberg@ts.go.dlr.de.                 ###
  759. ###   If you have questions about the BJC600/BJC4000, BJC800, or ESCP     ###
  760. ###       drivers, please contact Yves.Arrouye@imag.fr.                   ###
  761.  
  762. cdeskjet_=gdevcdj.$(OBJ) $(HPPCL)
  763.  
  764. cdeskjet.dev: $(cdeskjet_) page.dev
  765.     $(SETPDEV) cdeskjet $(cdeskjet_)
  766.  
  767. cdjcolor.dev: $(cdeskjet_) page.dev
  768.     $(SETPDEV) cdjcolor $(cdeskjet_)
  769.  
  770. cdjmono.dev: $(cdeskjet_) page.dev
  771.     $(SETPDEV) cdjmono $(cdeskjet_)
  772.  
  773. cdj500.dev: $(cdeskjet_) page.dev
  774.     $(SETPDEV) cdj500 $(cdeskjet_)
  775.  
  776. cdj550.dev: $(cdeskjet_) page.dev
  777.     $(SETPDEV) cdj550 $(cdeskjet_)
  778.  
  779. declj250.dev: $(cdeskjet_) page.dev
  780.     $(SETPDEV) declj250 $(cdeskjet_)
  781.  
  782. dnj650c.dev: $(cdeskjet_) page.dev
  783.     $(SETPDEV) dnj650c $(cdeskjet_)
  784.  
  785. lj4dith.dev: $(cdeskjet_) page.dev
  786.     $(SETPDEV) lj4dith $(cdeskjet_)
  787.  
  788. pj.dev: $(cdeskjet_) page.dev
  789.     $(SETPDEV) pj $(cdeskjet_)
  790.  
  791. pjxl.dev: $(cdeskjet_) page.dev
  792.     $(SETPDEV) pjxl $(cdeskjet_)
  793.  
  794. pjxl300.dev: $(cdeskjet_) page.dev
  795.     $(SETPDEV) pjxl300 $(cdeskjet_)
  796.  
  797. # Note: the BJC600 driver also works for the BJC4000.
  798. bjc600.dev: $(cdeskjet_) page.dev
  799.     $(SETPDEV) bjc600 $(cdeskjet_)
  800.  
  801. bjc800.dev: $(cdeskjet_) page.dev
  802.     $(SETPDEV) bjc800 $(cdeskjet_)
  803.  
  804. escp.dev: $(cdeskjet_) page.dev
  805.     $(SETPDEV) escp $(cdeskjet_)
  806.  
  807. # NB: you can also customise the build if required, using
  808. # -DBitsPerPixel=<number> if you wish the default to be other than 24
  809. # for the generic drivers (cdj500, cdj550, pjxl300, pjtest, pjxltest).
  810. gdevcdj.$(OBJ): gdevcdj.c $(std_h) $(PDEVH) gdevbjc.h\
  811.  $(gsparam_h) $(gsstate_h) $(gxlum_h)\
  812.  $(gdevpcl_h)
  813.  
  814. djet500c_=gdevdjtc.$(OBJ) $(HPPCL)
  815. djet500c.dev: $(djet500c_) page.dev
  816.     $(SETPDEV) djet500c $(djet500c_)
  817.  
  818. gdevdjtc.$(OBJ): gdevdjtc.c $(PDEVH) $(malloc__h) $(gdevpcl_h)
  819.  
  820. ### -------------------- The Mitsubishi CP50 printer -------------------- ###
  821. ### Note: this driver was contributed by a user: please contact           ###
  822. ###       Michael Hu (michael@ximage.com) if you have questions.          ###
  823.  
  824. cp50_=gdevcp50.$(OBJ)
  825. cp50.dev: $(cp50_) page.dev
  826.     $(SETPDEV) cp50 $(cp50_)
  827.  
  828. gdevcp50.$(OBJ): gdevcp50.c $(PDEVH)
  829.  
  830. ### ----------------- The generic Epson printer device ----------------- ###
  831. ### Note: most of this code was contributed by users.  Please contact    ###
  832. ###       the following people if you have questions:                    ###
  833. ###   eps9mid - Guenther Thomsen (thomsen@cs.tu-berlin.de)               ###
  834. ###   eps9high - David Wexelblat (dwex@mtgzfs3.att.com)                  ###
  835. ###   ibmpro - James W. Birdsall (jwbirdsa@picarefy.picarefy.com)        ###
  836.  
  837. epson_=gdevepsn.$(OBJ)
  838.  
  839. epson.dev: $(epson_) page.dev
  840.     $(SETPDEV) epson $(epson_)
  841.  
  842. eps9mid.dev: $(epson_) page.dev
  843.     $(SETPDEV) eps9mid $(epson_)
  844.  
  845. eps9high.dev: $(epson_) page.dev
  846.     $(SETPDEV) eps9high $(epson_)
  847.  
  848. gdevepsn.$(OBJ): gdevepsn.c $(PDEVH)
  849.  
  850. ### ----------------- The IBM Proprinter printer device ---------------- ###
  851.  
  852. ibmpro.dev: $(epson_) page.dev
  853.     $(SETPDEV) ibmpro $(epson_)
  854.  
  855. ### -------------- The Epson LQ-2550 color printer device -------------- ###
  856. ### Note: this driver was contributed by users: please contact           ###
  857. ###       Dave St. Clair (dave@exlog.com) if you have questions.         ###
  858.  
  859. epsonc_=gdevepsc.$(OBJ)
  860. epsonc.dev: $(epsonc_) page.dev
  861.     $(SETPDEV) epsonc $(epsonc_)
  862.  
  863. gdevepsc.$(OBJ): gdevepsc.c $(PDEVH)
  864.  
  865. ### ------------- The Epson ESC/P 2 language printer devices ------------- ###
  866. ### Note: these drivers were contributed by users.                         ###
  867. ### For questions about the Stylus 800 and AP3250 drivers, please contact  ###
  868. ###        Richard Brown (rab@tauon.ph.unimelb.edu.au).                    ###
  869. ### For questions about the Stylus Color drivers, please contact           ###
  870. ###        Gunther Hess (gunther@elmos.de).                                ###
  871.  
  872. ESCP2=gdevescp.$(OBJ)
  873.  
  874. gdevescp.$(OBJ): gdevescp.c $(PDEVH)
  875.  
  876. ap3250.dev: $(ESCP2) page.dev
  877.     $(SETPDEV) ap3250 $(ESCP2)
  878.  
  879. st800.dev: $(ESCP2) page.dev
  880.     $(SETPDEV) st800 $(ESCP2)
  881.  
  882. stcolor1_=gdevstc.$(OBJ) gdevstc1.$(OBJ) gdevstc2.$(OBJ)
  883. stcolor2_=gdevstc3.$(OBJ) gdevstc4.$(OBJ)
  884. stcolor.dev: $(stcolor1_) $(stcolor2_) page.dev
  885.     $(SETPDEV) stcolor $(stcolor1_)
  886.     $(ADDMOD) stcolor -obj $(stcolor2_)
  887.  
  888. gdevstc.$(OBJ): gdevstc.c gdevstc.h $(PDEVH)
  889.  
  890. gdevstc1.$(OBJ): gdevstc1.c gdevstc.h $(PDEVH)
  891.  
  892. gdevstc2.$(OBJ): gdevstc2.c gdevstc.h $(PDEVH)
  893.  
  894. gdevstc3.$(OBJ): gdevstc3.c gdevstc.h $(PDEVH)
  895.  
  896. gdevstc4.$(OBJ): gdevstc4.c gdevstc.h $(PDEVH)
  897.  
  898. ### --------------- Ugly/Update -> Unified Printer Driver ---------------- ###
  899. ### For questions about this driver, please contact:                       ###
  900. ###        Gunther Hess (gunther@elmos.de)                                 ###
  901.  
  902. uniprint_=gdevupd.$(OBJ)
  903. uniprint.dev: $(uniprint_) page.dev
  904.     $(SETPDEV) uniprint $(uniprint_)
  905.  
  906. gdevupd.$(OBJ): gdevupd.c $(PDEVH) $(gsparam_h)
  907.  
  908. ### -------------- cdj850 - HP 850c Driver under development ------------- ###
  909. ### Since this driver is in the development-phase it is not distributed    ###
  910. ### with ghostscript, but it is available via anonymous ftp from:          ###
  911. ###                        ftp://bonk.ethz.ch                              ###
  912. ### For questions about this driver, please contact:                       ###
  913. ###       Uli Wortmann (E-Mail address inside the driver-package)          ###
  914.  
  915. cdeskjet8_=gdevcd8.$(OBJ) $(HPPCL)
  916.  
  917. cdj850.dev: $(cdeskjet8_) page.dev
  918.     $(SETPDEV) cdj850 $(cdeskjet8_)
  919.  
  920. ### ------------ The H-P PaintJet color printer device ----------------- ###
  921. ### Note: this driver also supports the DEC LJ250 color printer, which   ###
  922. ###       has a PaintJet-compatible mode, and the PaintJet XL.           ###
  923. ### If you have questions about the XL, please contact Rob Reiss         ###
  924. ###       (rob@moray.berkeley.edu).                                      ###
  925.  
  926. PJET=gdevpjet.$(OBJ) $(HPPCL)
  927.  
  928. gdevpjet.$(OBJ): gdevpjet.c $(PDEVH) $(gdevpcl_h)
  929.  
  930. lj250.dev: $(PJET) page.dev
  931.     $(SETPDEV) lj250 $(PJET)
  932.  
  933. paintjet.dev: $(PJET) page.dev
  934.     $(SETPDEV) paintjet $(PJET)
  935.  
  936. pjetxl.dev: $(PJET) page.dev
  937.     $(SETPDEV) pjetxl $(PJET)
  938.  
  939. ### -------------- Imagen ImPress Laser Printer device ----------------- ###
  940. ### Note: this driver was contributed by a user: please contact          ###
  941. ###       Alan Millar (AMillar@bolis.sf-bay.org) if you have questions.  ###
  942. ### Set USE_BYTE_STREAM if using parallel interface;                     ###
  943. ### Don't set it if using 'ipr' spooler (default).                       ###
  944. ### You may also add -DA4 if needed for A4 paper.             ###
  945.  
  946. imagen_=gdevimgn.$(OBJ)
  947. imagen.dev: $(imagen_) page.dev
  948.     $(SETPDEV) imagen $(imagen_)
  949.  
  950. gdevimgn.$(OBJ): gdevimgn.c $(PDEVH)
  951.     $(CCC) gdevimgn.c            # for ipr spooler
  952. #    $(CCC) -DUSE_BYTE_STREAM gdevimgn.c    # for parallel
  953.  
  954. ### ------- The IBM 3852 JetPrinter color inkjet printer device -------- ###
  955. ### Note: this driver was contributed by users: please contact           ###
  956. ###       Kevin Gift (kgift@draper.com) if you have questions.           ###
  957. ### Note that the paper size that can be addressed by the graphics mode  ###
  958. ###   used in this driver is fixed at 7-1/2 inches wide (the printable   ###
  959. ###   width of the jetprinter itself.)                                   ###
  960.  
  961. jetp3852_=gdev3852.$(OBJ)
  962. jetp3852.dev: $(jetp3852_) page.dev
  963.     $(SETPDEV) jetp3852 $(jetp3852_)
  964.  
  965. gdev3852.$(OBJ): gdev3852.c $(PDEVH) $(gdevpcl_h)
  966.  
  967. ### ---------- The Canon LBP-8II and LIPS III printer devices ---------- ###
  968. ### Note: these drivers were contributed by users.                       ###
  969. ### For questions about these drivers, please contact                    ###
  970. ###       Lauri Paatero, lauri.paatero@paatero.pp.fi                     ###
  971.  
  972. lbp8_=gdevlbp8.$(OBJ)
  973. lbp8.dev: $(lbp8_) page.dev
  974.     $(SETPDEV) lbp8 $(lbp8_)
  975.  
  976. lips3.dev: $(lbp8_) page.dev
  977.     $(SETPDEV) lips3 $(lbp8_)
  978.  
  979. gdevlbp8.$(OBJ): gdevlbp8.c $(PDEVH)
  980.  
  981. ### ----------- The DEC LN03/LA50/LA70/LA75 printer devices ------------ ###
  982. ### Note: this driver was contributed by users: please contact           ###
  983. ###       Ulrich Mueller (ulm@vsnhd1.cern.ch) if you have questions.     ###
  984. ### For questions about LA50 and LA75, please contact                    ###
  985. ###       Ian MacPhedran (macphed@dvinci.USask.CA).                      ###
  986. ### For questions about the LA70, please contact                         ###
  987. ###       Bruce Lowekamp (lowekamp@csugrad.cs.vt.edu).                   ###
  988. ### For questions about the LA75plus, please contact                     ###
  989. ###       Andre' Beck (Andre_Beck@IRS.Inf.TU-Dresden.de).                ###
  990.  
  991. ln03_=gdevln03.$(OBJ)
  992. ln03.dev: $(ln03_) page.dev
  993.     $(SETPDEV) ln03 $(ln03_)
  994.  
  995. la50.dev: $(ln03_) page.dev
  996.     $(SETPDEV) la50 $(ln03_)
  997.  
  998. la70.dev: $(ln03_) page.dev
  999.     $(SETPDEV) la70 $(ln03_)
  1000.  
  1001. la75.dev: $(ln03_) page.dev
  1002.     $(SETPDEV) la75 $(ln03_)
  1003.  
  1004. la75plus.dev: $(ln03_) page.dev
  1005.     $(SETPDEV) la75plus $(ln03_)
  1006.  
  1007. gdevln03.$(OBJ): gdevln03.c $(PDEVH)
  1008.  
  1009. # LA70 driver with low-resolution text enhancement.
  1010.  
  1011. la70t_=gdevla7t.$(OBJ)
  1012. la70t.dev: $(la70t_) page.dev
  1013.     $(SETPDEV) la70t $(la70t_)
  1014.  
  1015. gdevla7t.$(OBJ): gdevla7t.c $(PDEVH)
  1016.  
  1017. ### -------------- The Epson LP-8000 laser printer device -------------- ###
  1018. ### Note: this driver was contributed by a user: please contact Oleg     ###
  1019. ###       Oleg Fat'yanov <faty1@rlem.titech.ac.jp> if you have questions.###
  1020.  
  1021. lp8000_=gdevlp8k.$(OBJ)
  1022. lp8000.dev: $(lp8000_) page.dev
  1023.     $(SETPDEV) lp8000 $(lp8000_)
  1024.  
  1025. gdevlp8k.$(OBJ): gdevlp8k.c $(PDEVH)
  1026.  
  1027. ### -------------- The C.Itoh M8510 printer device --------------------- ###
  1028. ### Note: this driver was contributed by a user: please contact Bob      ###
  1029. ###       Smith <bob@snuffy.penfield.ny.us> if you have questions.       ###
  1030.  
  1031. m8510_=gdev8510.$(OBJ)
  1032. m8510.dev: $(m8510_) page.dev
  1033.     $(SETPDEV) m8510 $(m8510_)
  1034.  
  1035. gdev8510.$(OBJ): gdev8510.c $(PDEVH)
  1036.  
  1037. ### -------------- 24pin Dot-matrix printer with 360DPI ---------------- ###
  1038. ### Note: this driver was contributed by users.  Please contact:         ###
  1039. ###    Andreas Schwab (schwab@ls5.informatik.uni-dortmund.de) for        ###
  1040. ###      questions about the NEC P6;                                     ###
  1041. ###    Christian Felsch (felsch@tu-harburg.d400.de) for                  ###
  1042. ###      questions about the Epson LQ850.                                ###
  1043.  
  1044. dm24_=gdevdm24.$(OBJ)
  1045. gdevdm24.$(OBJ): gdevdm24.c $(PDEVH)
  1046.  
  1047. necp6.dev: $(dm24_) page.dev
  1048.     $(SETPDEV) necp6 $(dm24_)
  1049.  
  1050. lq850.dev: $(dm24_) page.dev
  1051.     $(SETPDEV) lq850 $(dm24_)
  1052.  
  1053. ### ----------------- The Okidata MicroLine 182 device ----------------- ###
  1054. ### Note: this driver was contributed by a user: please contact          ###
  1055. ###       Maarten Koning (smeg@bnr.ca) if you have questions.            ###
  1056.  
  1057. oki182_=gdevo182.$(OBJ)
  1058. oki182.dev: $(oki182_) page.dev
  1059.     $(SETPDEV) oki182 $(oki182_)
  1060.  
  1061. gdevo182.$(OBJ): gdevo182.c $(PDEVH)
  1062.  
  1063. ### ------------- The Okidata IBM compatible printer device ------------ ###
  1064. ### Note: this driver was contributed by a user: please contact          ###
  1065. ###       Charles Mack (chasm@netcom.com) if you have questions.         ###
  1066.  
  1067. okiibm_=gdevokii.$(OBJ)
  1068. okiibm.dev: $(okiibm_) page.dev
  1069.     $(SETPDEV) okiibm $(okiibm_)
  1070.  
  1071. gdevokii.$(OBJ): gdevokii.c $(PDEVH)
  1072.  
  1073. ### ------------- The Ricoh 4081 laser printer device ------------------ ###
  1074. ### Note: this driver was contributed by users:                          ###
  1075. ###       please contact kdw@oasis.icl.co.uk if you have questions.      ###
  1076.  
  1077. r4081_=gdev4081.$(OBJ)
  1078. r4081.dev: $(r4081_) page.dev
  1079.     $(SETPDEV) r4081 $(r4081_)
  1080.  
  1081.  
  1082. gdev4081.$(OBJ): gdev4081.c $(PDEVH)
  1083.  
  1084. ### -------------------- Sony NWP533 printer device -------------------- ###
  1085. ### Note: this driver was contributed by a user: please contact Tero     ###
  1086. ###       Kivinen (kivinen@joker.cs.hut.fi) if you have questions.       ###
  1087.  
  1088. nwp533_=gdevn533.$(OBJ)
  1089. nwp533.dev: $(nwp533_) page.dev
  1090.     $(SETPDEV) nwp533 $(nwp533_)
  1091.  
  1092. gdevn533.$(OBJ): gdevn533.c $(PDEVH)
  1093.  
  1094. ### ------------------------- The SPARCprinter ------------------------- ###
  1095. ### Note: this driver was contributed by users: please contact Martin    ###
  1096. ###       Schulte (schulte@thp.uni-koeln.de) if you have questions.      ###
  1097. ###       He would also like to hear from anyone using the driver.       ###
  1098. ### Please consult the source code for additional documentation.         ###
  1099.  
  1100. sparc_=gdevsppr.$(OBJ)
  1101. sparc.dev: $(sparc_) page.dev
  1102.     $(SETPDEV) sparc $(sparc_)
  1103.  
  1104. gdevsppr.$(OBJ): gdevsppr.c $(PDEVH)
  1105.  
  1106. ### ----------------- The StarJet SJ48 device -------------------------- ###
  1107. ### Note: this driver was contributed by a user: if you have questions,  ###
  1108. ###                          .                                          ###
  1109. ###       please contact Mats Akerblom (f86ma@dd.chalmers.se).           ###
  1110.  
  1111. sj48_=gdevsj48.$(OBJ)
  1112. sj48.dev: $(sj48_) page.dev
  1113.     $(SETPDEV) sj48 $(sj48_)
  1114.  
  1115. gdevsj48.$(OBJ): gdevsj48.c $(PDEVH)
  1116.  
  1117. ### ----------------- Tektronix 4396d color printer -------------------- ###
  1118. ### Note: this driver was contributed by a user: please contact          ###
  1119. ###       Karl Hakimian (hakimian@haney.eecs.wsu.edu)                    ###
  1120. ###       if you have questions.                                         ###
  1121.  
  1122. t4693d_=gdev4693.$(OBJ)
  1123. t4693d2.dev: $(t4693d_) page.dev
  1124.     $(SETPDEV) t4693d2 $(t4693d_)
  1125.  
  1126. t4693d4.dev: $(t4693d_) page.dev
  1127.     $(SETPDEV) t4693d4 $(t4693d_)
  1128.  
  1129. t4693d8.dev: $(t4693d_) page.dev
  1130.     $(SETPDEV) t4693d8 $(t4693d_)
  1131.  
  1132. gdev4693.$(OBJ): gdev4693.c $(PDEVH)
  1133.  
  1134. ### -------------------- Tektronix ink-jet printers -------------------- ###
  1135. ### Note: this driver was contributed by a user: please contact          ###
  1136. ###       Karsten Spang (spang@nbivax.nbi.dk) if you have questions.     ###
  1137.  
  1138. tek4696_=gdevtknk.$(OBJ)
  1139. tek4696.dev: $(tek4696_) page.dev
  1140.     $(SETPDEV) tek4696 $(tek4696_)
  1141.  
  1142. gdevtknk.$(OBJ): gdevtknk.c $(PDEVH) $(malloc__h)
  1143.  
  1144. ### ----------------- The Xerox XES printer device --------------------- ###
  1145. ### Note: this driver was contributed by users: please contact           ###
  1146. ###       Peter Flass (flass@lbdrscs.bitnet) if you have questions.      ###
  1147.  
  1148. xes_=gdevxes.$(OBJ)
  1149. xes.dev: $(xes_) page.dev
  1150.     $(SETPDEV) xes $(xes_)
  1151.  
  1152. gdevxes.$(OBJ): gdevxes.c $(PDEVH)
  1153.  
  1154. ###### ------------------------- Fax devices ------------------------- ######
  1155.  
  1156. ### --------------- Generic PostScript system compatible fax ------------ ###
  1157.  
  1158. # This code doesn't work yet.  Don't even think about using it.
  1159.  
  1160. PSFAX=gdevpfax.$(OBJ)
  1161.  
  1162. psfax_=$(PSFAX)
  1163. psfax.dev: $(psfax_) page.dev
  1164.     $(SETPDEV) psfax $(psfax_)
  1165.     $(ADDMOD) psfax -iodev Fax
  1166.  
  1167. gdevpfax.$(OBJ): gdevpfax.c $(PDEVH) $(gsparam_h) $(gxiodev_h)
  1168.  
  1169. ### ------------------------- The DigiFAX device ------------------------ ###
  1170. ###    This driver outputs images in a format suitable for use with       ###
  1171. ###    DigiBoard, Inc.'s DigiFAX software.  Use -sDEVICE=dfaxhigh for     ###
  1172. ###    high resolution output, -sDEVICE=dfaxlow for normal output.        ###
  1173. ### Note: this driver was contributed by a user: please contact           ###
  1174. ###       Rick Richardson (rick@digibd.com) if you have questions.        ###
  1175.  
  1176. dfax_=gdevdfax.$(OBJ) gdevtfax.$(OBJ)
  1177.  
  1178. dfaxlow.dev: $(dfax_) page.dev
  1179.     $(SETPDEV) dfaxlow $(dfax_)
  1180.     $(ADDMOD) dfaxlow -include cfe
  1181.  
  1182. dfaxhigh.dev: $(dfax_) page.dev
  1183.     $(SETPDEV) dfaxhigh $(dfax_)
  1184.     $(ADDMOD) dfaxhigh -include cfe
  1185.  
  1186. gdevdfax.$(OBJ): gdevdfax.c $(PDEVH) $(scfx_h) $(strimpl_h)
  1187.  
  1188. ### --------------See under TIFF below for fax-format TIFF -------------- ###
  1189.  
  1190. ###### ------------------- High-level file formats ------------------- ######
  1191.  
  1192. # Support for PostScript and PDF
  1193.  
  1194. gdevpsdf_h=gdevpsdf.h $(gdevvec_h) $(strimpl_h)
  1195. gdevpstr_h=gdevpstr.h
  1196.  
  1197. gdevpsdf.$(OBJ): gdevpsdf.c $(stdio__h) $(string__h)\
  1198.  $(gserror_h) $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gstypes_h)\
  1199.  $(gxdevice_h)\
  1200.  $(scfx_h) $(slzwx_h) $(srlx_h) $(strimpl_h)\
  1201.  $(gdevpsdf_h) $(gdevpstr_h)
  1202.  
  1203. gdevpstr.$(OBJ): gdevpstr.c $(math__h) $(stdio__h) $(string__h)\
  1204.  $(gdevpstr_h) $(stream_h)
  1205.  
  1206. # PostScript and EPS writers
  1207.  
  1208. pswrite1_=gdevps.$(OBJ) gdevpsdf.$(OBJ) gdevpstr.$(OBJ)
  1209. pswrite2_=scantab.$(OBJ) sfilter2.$(OBJ)
  1210. pswrite_=$(pswrite1_) $(pswrite2_)
  1211. epswrite.dev: $(ECHOGS_XE) $(pswrite_) vector.dev
  1212.     $(SETDEV) epswrite $(pswrite1_)
  1213.     $(ADDMOD) epswrite $(pswrite2_)
  1214.     $(ADDMOD) epswrite -include vector
  1215.  
  1216. pswrite.dev: $(ECHOGS_XE) $(pswrite_) vector.dev
  1217.     $(SETDEV) pswrite $(pswrite1_)
  1218.     $(ADDMOD) pswrite $(pswrite2_)
  1219.     $(ADDMOD) pswrite -include vector
  1220.  
  1221. gdevps.$(OBJ): gdevps.c $(GDEV) $(math__h) $(time__h)\
  1222.  $(gscdefs_h) $(gscspace_h) $(gsparam_h) $(gsiparam_h) $(gsmatrix_h)\
  1223.  $(gxdcolor_h)\
  1224.  $(sa85x_h) $(strimpl_h)\
  1225.  $(gdevpsdf_h) $(gdevpstr_h)
  1226.  
  1227. # PDF writer
  1228. # Note that gs_pdfwr.ps will only actually be loaded if the configuration
  1229. # includes a PostScript interpreter.
  1230.  
  1231. pdfwrite1_=gdevpdf.$(OBJ) gdevpdfd.$(OBJ) gdevpdfi.$(OBJ) gdevpdfm.$(OBJ)
  1232. pdfwrite2_=gdevpdfp.$(OBJ) gdevpdft.$(OBJ) gdevpsdf.$(OBJ) gdevpstr.$(OBJ)
  1233. pdfwrite3_=gsflip.$(OBJ) scantab.$(OBJ) sfilter2.$(OBJ) sstring.$(OBJ)
  1234. pdfwrite_=$(pdfwrite1_) $(pdfwrite2_) $(pdfwrite3_)
  1235. pdfwrite.dev: $(ECHOGS_XE) $(pdfwrite_) \
  1236.   cmyklib.dev cfe.dev dcte.dev lzwe.dev rle.dev vector.dev
  1237.     $(SETDEV) pdfwrite $(pdfwrite1_)
  1238.     $(ADDMOD) pdfwrite $(pdfwrite2_)
  1239.     $(ADDMOD) pdfwrite $(pdfwrite3_)
  1240.     $(ADDMOD) pdfwrite -ps gs_pdfwr
  1241.     $(ADDMOD) pdfwrite -include cmyklib cfe dcte lzwe rle vector
  1242.  
  1243. gdevpdfx_h=gdevpdfx.h $(gsparam_h) $(gxdevice_h) $(gxline_h) $(stream_h)\
  1244.  $(gdevpsdf_h) $(gdevpstr_h)
  1245.  
  1246. gdevpdf.$(OBJ): gdevpdf.c $(math__h) $(memory__h) $(string__h) $(time__h)\
  1247.  $(gp_h)\
  1248.  $(gdevpdfx_h) $(gscdefs_h) $(gserrors_h)\
  1249.  $(gx_h) $(gxdevice_h) $(gxfixed_h) $(gxistate_h) $(gxpaint_h)\
  1250.  $(gzcpath_h) $(gzpath_h)\
  1251.  $(scanchar_h) $(scfx_h) $(slzwx_h) $(sstring_h) $(strimpl_h) $(szlibx_h)
  1252.     $(CCCZ) $(srcdir)/gdevpdf.c
  1253.  
  1254. gdevpdfd.$(OBJ): gdevpdfd.c $(math__h)\
  1255.  $(gdevpdfx_h)\
  1256.  $(gx_h) $(gxdevice_h) $(gxfixed_h) $(gxistate_h) $(gxpaint_h)\
  1257.  $(gzcpath_h) $(gzpath_h)
  1258.  
  1259. gdevpdfi.$(OBJ): gdevpdfi.c $(math__h) $(memory__h) $(gx_h) \
  1260.   $(gdevpdfx_h) $(gscie_h) $(gscolor2_h) $(gserrors_h) $(gsflip_h)\
  1261.   $(gxcspace_h) $(gxistate_h) \
  1262.   $(sa85x_h) $(scfx_h) $(srlx_h) $(strimpl_h)
  1263.  
  1264. gdevpdfm.$(OBJ): gdevpdfm.c $(memory__h) $(string__h) $(gx_h) \
  1265.   $(gdevpdfx_h) $(gserrors_h) $(gsutil_h) $(scanchar_h)
  1266.  
  1267. gdevpdfp.$(OBJ): gdevpdfp.c $(gx_h)\
  1268.  $(gdevpdfx_h) $(gserrors_h)
  1269.  
  1270. gdevpdft.$(OBJ): gdevpdft.c $(math__h) $(memory__h) $(string__h) $(gx_h)\
  1271.  $(gdevpdfx_h) $(gserrors_h) $(gsutil_h)\
  1272.  $(scommon_h)
  1273.  
  1274. # High-level PCL XL writer
  1275.  
  1276. pxl_=gdevpx.$(OBJ)
  1277. pxlmono.dev: $(pxl_) $(GDEV) vector.dev
  1278.     $(SETDEV) pxlmono $(pxl_)
  1279.     $(ADDMOD) pxlmono -include vector
  1280.  
  1281. pxlcolor.dev: $(pxl_) $(GDEV) vector.dev
  1282.     $(SETDEV) pxlcolor $(pxl_)
  1283.     $(ADDMOD) pxlcolor -include vector
  1284.  
  1285. gdevpx.$(OBJ): gdevpx.c $(math__h) $(memory__h) $(string__h)\
  1286.  $(gx_h) $(gsccolor_h) $(gsdcolor_h) $(gserrors_h)\
  1287.  $(gxcspace_h) $(gxdevice_h) $(gxpath_h)\
  1288.  $(gdevpxat_h) $(gdevpxen_h) $(gdevpxop_h) $(gdevvec_h)\
  1289.  $(srlx_h) $(strimpl_h)
  1290.  
  1291. ###### --------------------- Raster file formats --------------------- ######
  1292.  
  1293. ### --------------------- The "plain bits" devices ---------------------- ###
  1294.  
  1295. bit_=gdevbit.$(OBJ)
  1296.  
  1297. bit.dev: $(bit_) page.dev
  1298.     $(SETPDEV) bit $(bit_)
  1299.  
  1300. bitrgb.dev: $(bit_) page.dev
  1301.     $(SETPDEV) bitrgb $(bit_)
  1302.  
  1303. bitcmyk.dev: $(bit_) page.dev
  1304.     $(SETPDEV) bitcmyk $(bit_)
  1305.  
  1306. gdevbit.$(OBJ): gdevbit.c $(PDEVH) $(gsparam_h) $(gxlum_h)
  1307.  
  1308. ### ------------------------- .BMP file formats ------------------------- ###
  1309.  
  1310. bmp_=gdevbmp.$(OBJ) gdevpccm.$(OBJ)
  1311.  
  1312. gdevbmp.$(OBJ): gdevbmp.c $(PDEVH) $(gdevpccm_h)
  1313.  
  1314. bmpmono.dev: $(bmp_) page.dev
  1315.     $(SETPDEV) bmpmono $(bmp_)
  1316.  
  1317. bmp16.dev: $(bmp_) page.dev
  1318.     $(SETPDEV) bmp16 $(bmp_)
  1319.  
  1320. bmp256.dev: $(bmp_) page.dev
  1321.     $(SETPDEV) bmp256 $(bmp_)
  1322.  
  1323. bmp16m.dev: $(bmp_) page.dev
  1324.     $(SETPDEV) bmp16m $(bmp_)
  1325.  
  1326. ### -------------------------- CGM file format ------------------------- ###
  1327. ### This driver is under development.  Use at your own risk.             ###
  1328. ### The output is very low-level, consisting only of rectangles and      ###
  1329. ### cell arrays.                                                         ###
  1330.  
  1331. cgm_=gdevcgm.$(OBJ) gdevcgml.$(OBJ)
  1332.  
  1333. gdevcgml_h=gdevcgml.h
  1334. gdevcgmx_h=gdevcgmx.h $(gdevcgml_h)
  1335.  
  1336. gdevcgm.$(OBJ): gdevcgm.c $(GDEV) $(memory__h)\
  1337.  $(gsparam_h) $(gdevpccm_h) $(gdevcgml_h)
  1338.  
  1339. gdevcgml.$(OBJ): gdevcgml.c $(memory__h) $(stdio__h)\
  1340.  $(gdevcgmx_h)
  1341.  
  1342. cgmmono.dev: $(cgm_)
  1343.     $(SETDEV) cgmmono $(cgm_)
  1344.  
  1345. cgm8.dev: $(cgm_)
  1346.     $(SETDEV) cgm8 $(cgm_)
  1347.  
  1348. cgm24.dev: $(cgm_)
  1349.     $(SETDEV) cgm24 $(cgm_)
  1350.  
  1351. ### -------------------- The CIF file format for VLSI ------------------ ###
  1352. ### Note: this driver was contributed by a user: please contact          ###
  1353. ###       Frederic Petrot (petrot@masi.ibp.fr) if you have questions.    ###
  1354.  
  1355. cif_=gdevcif.$(OBJ)
  1356. cif.dev: $(cif_) page.dev
  1357.     $(SETPDEV) cif $(cif_)
  1358.  
  1359. gdevcif.$(OBJ): gdevcif.c $(PDEVH)
  1360.  
  1361. ### ------------------------- JPEG file format ------------------------- ###
  1362.  
  1363. jpeg_=gdevjpeg.$(OBJ)
  1364.  
  1365. # RGB output
  1366. jpeg.dev: $(jpeg_) sdcte.dev page.dev
  1367.     $(SETPDEV) jpeg $(jpeg_)
  1368.     $(ADDMOD) jpeg -include sdcte
  1369.  
  1370. # Gray output
  1371. jpeggray.dev: $(jpeg_) sdcte.dev page.dev
  1372.     $(SETPDEV) jpeggray $(jpeg_)
  1373.     $(ADDMOD) jpeggray -include sdcte
  1374.  
  1375. gdevjpeg.$(OBJ): gdevjpeg.c $(stdio__h) $(PDEVH)\
  1376.  $(sdct_h) $(sjpeg_h) $(stream_h) $(strimpl_h) jpeglib.h
  1377.  
  1378. ### ------------------------- MIFF file format ------------------------- ###
  1379. ### Right now we support only 24-bit direct color, but we might add more ###
  1380. ### formats in the future.                                               ###
  1381.  
  1382. miff_=gdevmiff.$(OBJ)
  1383.  
  1384. miff24.dev: $(miff_) page.dev
  1385.     $(SETPDEV) miff24 $(miff_)
  1386.  
  1387. gdevmiff.$(OBJ): gdevmiff.c $(PDEVH)
  1388.  
  1389. ### --------------------------- MGR devices ---------------------------- ###
  1390. ### Note: these drivers were contributed by a user: please contact       ###
  1391. ###       Carsten Emde (carsten@ce.pr.net.ch) if you have questions.     ###
  1392.  
  1393. MGR=gdevmgr.$(OBJ) gdevpccm.$(OBJ)
  1394.  
  1395. gdevmgr.$(OBJ): gdevmgr.c $(PDEVH) $(gdevpccm_h) gdevmgr.h
  1396.  
  1397. mgrmono.dev: $(MGR) page.dev
  1398.     $(SETPDEV) mgrmono $(MGR)
  1399.  
  1400. mgrgray2.dev: $(MGR) page.dev
  1401.     $(SETPDEV) mgrgray2 $(MGR)
  1402.  
  1403. mgrgray4.dev: $(MGR) page.dev
  1404.     $(SETPDEV) mgrgray4 $(MGR)
  1405.  
  1406. mgrgray8.dev: $(MGR) page.dev
  1407.     $(SETPDEV) mgrgray8 $(MGR)
  1408.  
  1409. mgr4.dev: $(MGR) page.dev
  1410.     $(SETPDEV) mgr4 $(MGR)
  1411.  
  1412. mgr8.dev: $(MGR) page.dev
  1413.     $(SETPDEV) mgr8 $(MGR)
  1414.  
  1415. ### ------------------------- PCX file formats ------------------------- ###
  1416.  
  1417. pcx_=gdevpcx.$(OBJ) gdevpccm.$(OBJ)
  1418.  
  1419. gdevpcx.$(OBJ): gdevpcx.c $(PDEVH) $(gdevpccm_h) $(gxlum_h)
  1420.  
  1421. pcxmono.dev: $(pcx_) page.dev
  1422.     $(SETPDEV) pcxmono $(pcx_)
  1423.  
  1424. pcxgray.dev: $(pcx_) page.dev
  1425.     $(SETPDEV) pcxgray $(pcx_)
  1426.  
  1427. pcx16.dev: $(pcx_) page.dev
  1428.     $(SETPDEV) pcx16 $(pcx_)
  1429.  
  1430. pcx256.dev: $(pcx_) page.dev
  1431.     $(SETPDEV) pcx256 $(pcx_)
  1432.  
  1433. pcx24b.dev: $(pcx_) page.dev
  1434.     $(SETPDEV) pcx24b $(pcx_)
  1435.  
  1436. pcxcmyk.dev: $(pcx_) page.dev
  1437.     $(SETPDEV) pcxcmyk $(pcx_)
  1438.  
  1439. # The 2-up PCX device is here only as an example, and for testing.
  1440. pcx2up.dev: $(LIB_MAK) $(ECHOGS_XE) gdevp2up.$(OBJ) page.dev pcx256.dev
  1441.     $(SETPDEV) pcx2up gdevp2up.$(OBJ)
  1442.     $(ADDMOD) pcx2up -include pcx256
  1443.  
  1444. gdevp2up.$(OBJ): gdevp2up.c $(AK)\
  1445.  $(gdevpccm_h) $(gdevprn_h) $(gxclpage_h)
  1446.  
  1447. ### ------------------- Portable Bitmap file formats ------------------- ###
  1448. ### For more information, see the pbm(5), pgm(5), and ppm(5) man pages.  ###
  1449.  
  1450. pxm_=gdevpbm.$(OBJ)
  1451.  
  1452. gdevpbm.$(OBJ): gdevpbm.c $(PDEVH) $(gscdefs_h) $(gxlum_h)
  1453.  
  1454. ### Portable Bitmap (PBM, plain or raw format, magic numbers "P1" or "P4")
  1455.  
  1456. pbm.dev: $(pxm_) page.dev
  1457.     $(SETPDEV) pbm $(pxm_)
  1458.  
  1459. pbmraw.dev: $(pxm_) page.dev
  1460.     $(SETPDEV) pbmraw $(pxm_)
  1461.  
  1462. ### Portable Graymap (PGM, plain or raw format, magic numbers "P2" or "P5")
  1463.  
  1464. pgm.dev: $(pxm_) page.dev
  1465.     $(SETPDEV) pgm $(pxm_)
  1466.  
  1467. pgmraw.dev: $(pxm_) page.dev
  1468.     $(SETPDEV) pgmraw $(pxm_)
  1469.  
  1470. # PGM with automatic optimization to PBM if this is possible.
  1471.  
  1472. pgnm.dev: $(pxm_) page.dev
  1473.     $(SETPDEV) pgnm $(pxm_)
  1474.  
  1475. pgnmraw.dev: $(pxm_) page.dev
  1476.     $(SETPDEV) pgnmraw $(pxm_)
  1477.  
  1478. ### Portable Pixmap (PPM, plain or raw format, magic numbers "P3" or "P6")
  1479.  
  1480. ppm.dev: $(pxm_) page.dev
  1481.     $(SETPDEV) ppm $(pxm_)
  1482.  
  1483. ppmraw.dev: $(pxm_) page.dev
  1484.     $(SETPDEV) ppmraw $(pxm_)
  1485.  
  1486. # PPM with automatic optimization to PGM or PBM if possible.
  1487.  
  1488. pnm.dev: $(pxm_) page.dev
  1489.     $(SETPDEV) pnm $(pxm_)
  1490.  
  1491. pnmraw.dev: $(pxm_) page.dev
  1492.     $(SETPDEV) pnmraw $(pxm_)
  1493.  
  1494. ### Portable inKmap (CMYK internally, converted to PPM=RGB at output time)
  1495.  
  1496. pkm.dev: $(pxm_) page.dev
  1497.     $(SETPDEV) pkm $(pxm_)
  1498.  
  1499. pkmraw.dev: $(pxm_) page.dev
  1500.     $(SETPDEV) pkmraw $(pxm_)
  1501.  
  1502. ### --------------- Portable Network Graphics file format --------------- ###
  1503. ### Requires libpng 0.81 and zlib 0.95 (or more recent versions).         ###
  1504. ### See libpng.mak and zlib.mak for more details.                         ###
  1505.  
  1506. png_=gdevpng.$(OBJ) gdevpccm.$(OBJ)
  1507.  
  1508. gdevpng.$(OBJ): gdevpng.c $(gdevprn_h) $(gdevpccm_h) $(gscdefs_h) $(PSRC)png.h
  1509.     $(CCCP) -I. $(srcdir)/gdevpng.c
  1510.  
  1511. pngmono.dev: libpng.dev $(png_) page.dev
  1512.     $(SETPDEV) pngmono  $(png_)
  1513.     $(ADDMOD) pngmono  -include libpng
  1514.  
  1515. pnggray.dev: libpng.dev $(png_) page.dev
  1516.     $(SETPDEV) pnggray  $(png_)
  1517.     $(ADDMOD) pnggray  -include libpng
  1518.  
  1519. png16.dev: libpng.dev $(png_) page.dev
  1520.     $(SETPDEV) png16  $(png_)
  1521.     $(ADDMOD) png16  -include libpng
  1522.  
  1523. png256.dev: libpng.dev $(png_) page.dev
  1524.     $(SETPDEV) png256  $(png_)
  1525.     $(ADDMOD) png256  -include libpng
  1526.  
  1527. png16m.dev: libpng.dev $(png_) page.dev
  1528.     $(SETPDEV) png16m  $(png_)
  1529.     $(ADDMOD) png16m  -include libpng
  1530.  
  1531. ### ---------------------- PostScript image format ---------------------- ###
  1532. ### These devices make it possible to print Level 2 files on a Level 1    ###
  1533. ###   printer, by converting them to a bitmap in PostScript format.       ###
  1534.  
  1535. ps_=gdevpsim.$(OBJ)
  1536.  
  1537. gdevpsim.$(OBJ): gdevpsim.c $(PDEVH)
  1538.  
  1539. psmono.dev: $(ps_) page.dev
  1540.     $(SETPDEV) psmono $(ps_)
  1541.  
  1542. psgray.dev: $(ps_) page.dev
  1543.     $(SETPDEV) psgray $(ps_)
  1544.  
  1545. # Someday there will be RGB and CMYK variants....
  1546.  
  1547. ### -------------------------- SGI RGB pixmaps -------------------------- ###
  1548.  
  1549. sgirgb_=gdevsgi.$(OBJ)
  1550.  
  1551. gdevsgi.$(OBJ): gdevsgi.c $(PDEVH) gdevsgi.h
  1552.  
  1553. sgirgb.dev: $(sgirgb_) page.dev
  1554.     $(SETPDEV) sgirgb $(sgirgb_)
  1555.  
  1556. ### -------------------- Plain or TIFF fax encoding --------------------- ###
  1557. ###    Use -sDEVICE=tiffg3 or tiffg4 and                  ###
  1558. ###      -r204x98 for low resolution output, or              ###
  1559. ###      -r204x196 for high resolution output                  ###
  1560. ###    These drivers recognize 3 page sizes: letter, A4, and B4.      ###
  1561.  
  1562. gdevtifs_h=gdevtifs.h
  1563.  
  1564. tfax_=gdevtfax.$(OBJ)
  1565. tfax.dev: $(tfax_) cfe.dev lzwe.dev rle.dev tiffs.dev
  1566.     $(SETMOD) tfax $(tfax_)
  1567.     $(ADDMOD) tfax -include cfe lzwe rle tiffs
  1568.  
  1569. gdevtfax.$(OBJ): gdevtfax.c $(PDEVH)\
  1570.  $(gdevtifs_h) $(scfx_h) $(slzwx_h) $(srlx_h) $(strimpl_h)
  1571.  
  1572. ### Plain G3/G4 fax with no header
  1573.  
  1574. faxg3.dev: tfax.dev
  1575.     $(SETDEV) faxg3 -include tfax
  1576.  
  1577. faxg32d.dev: tfax.dev
  1578.     $(SETDEV) faxg32d -include tfax
  1579.  
  1580. faxg4.dev: tfax.dev
  1581.     $(SETDEV) faxg4 -include tfax
  1582.  
  1583. ### ---------------------------- TIFF formats --------------------------- ###
  1584.  
  1585. tiffs_=gdevtifs.$(OBJ)
  1586. tiffs.dev: $(tiffs_) page.dev
  1587.     $(SETMOD) tiffs $(tiffs_)
  1588.     $(ADDMOD) tiffs -include page
  1589.  
  1590. gdevtifs.$(OBJ): gdevtifs.c $(PDEVH) $(stdio__h) $(time__h) \
  1591.  $(gdevtifs_h) $(gscdefs_h) $(gstypes_h)
  1592.  
  1593. # Black & white, G3/G4 fax
  1594.  
  1595. tiffcrle.dev: tfax.dev
  1596.     $(SETDEV) tiffcrle -include tfax
  1597.  
  1598. tiffg3.dev: tfax.dev
  1599.     $(SETDEV) tiffg3 -include tfax
  1600.  
  1601. tiffg32d.dev: tfax.dev
  1602.     $(SETDEV) tiffg32d -include tfax
  1603.  
  1604. tiffg4.dev: tfax.dev
  1605.     $(SETDEV) tiffg4 -include tfax
  1606.  
  1607. # Black & white, LZW compression
  1608.  
  1609. tifflzw.dev: tfax.dev
  1610.     $(SETDEV) tifflzw -include tfax
  1611.  
  1612. # Black & white, PackBits compression
  1613.  
  1614. tiffpack.dev: tfax.dev
  1615.     $(SETDEV) tiffpack -include tfax
  1616.  
  1617. # RGB, no compression
  1618.  
  1619. tiffrgb_=gdevtfnx.$(OBJ)
  1620.  
  1621. tiff12nc.dev: $(tiffrgb_) tiffs.dev
  1622.     $(SETPDEV) tiff12nc $(tiffrgb_)
  1623.     $(ADDMOD) tiff12nc -include tiffs
  1624.  
  1625. tiff24nc.dev: $(tiffrgb_) tiffs.dev
  1626.     $(SETPDEV) tiff24nc $(tiffrgb_)
  1627.     $(ADDMOD) tiff24nc -include tiffs
  1628.  
  1629. gdevtfnx.$(OBJ): gdevtfnx.c $(PDEVH) $(gdevtifs_h)
  1630.